/*
 * @Author: zqx me_zqx@163.com
 * @Date: 2025-03-21 10:42:15
 * @LastEditors: zqx me_zqx@163.com
 * @LastEditTime: 2025-08-26 11:27:05
 * @FilePath: /XMate-h5/src/store/index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createPinia } from "pinia";
import persist from "pinia-plugin-persistedstate";
import { useHomeStore } from "./modules/home";
import { useInterviewStore } from "./modules/interviewBot";
import { useProductStore } from "./modules/productAssistant";
import { useSalesTemplateStore } from "./modules/salesTemplate";
import { useCommonCozeBotStore } from "./modules/commonCozeBot";
import { useCustomerStore } from "./modules/customer";
import { useOrderVisitStore } from "./modules/orderVisit";
import { useMyXmateStore } from "./modules/myXmate";
import { useCommonStore, FuncStatusEnum } from "./modules/common";
import { useMinutesStore } from "./modules/minutes/minutes";
import { useMinutesStore as useStudyStore } from "./modules/study/study";
import { useBusinessStore } from "./modules/business";

var store = createPinia();
store.use(persist);
export {
  store,
  useHomeStore,
  useInterviewStore,
  useProductStore,
  useSalesTemplateStore,
  useCommonCozeBotStore,
  useCustomerStore,
  useBusinessStore,
  useOrderVisitStore,
  useMyXmateStore,
  useCommonStore,
  useMinutesStore,
  useStudyStore
};
export { FuncStatusEnum };
